package jpa.Model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by IntelliJ IDEA.
 * User: Pavlo
 * Date: 30.01.12
 * Time: 14:19
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "PersonType")
public class PersonType extends ID{

    @Column(name = "type", nullable = false, unique = true)
    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
